import * as client from './client'
import urlConfig from './urlConfig'


export class RsaKeyRpn {
    public publicKey: string

}

/**
 * 获取公钥
 */
export async function exec() {
    const data = await client.exec(urlConfig.rsaPublicKey, {});
    return JSON.parse(data) as client.RSM<RsaKeyRpn>;
}